package com.dfbz.demo01_普通内部类;

/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo02_内部类属性重名问题 {
    public static void main(String[] args) {

        Outer.A a=new Outer().new A();
        a.show();

    }
}

class Outer {

    int num = 1;

    class A {

        int num = 10;

        public void show() {
            int num = 100;
            System.out.println(num);
            System.out.println(this.num);
            System.out.println(Outer.this.num);
        }
    }

}